package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.core.MachineAlarmDao;
import com.tbit.uqbike.client.pojo.MachineAlarm;
import com.tbit.uqbike.client.service.MachineAlarmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: ShiGuang
 * @create: 2021-12-20 15:19
 * @description: 资产预警开关
 */
@Service
public class MachineAlarmServiceImpl implements MachineAlarmService {

    @Autowired
    private MachineAlarmDao machineAlarmDao;

    /**
     * 根据运营区域id查询
     *
     * @param accountId
     * @return
     */
    @Override
    public MachineAlarm getByAccountId(Integer accountId) {
        return machineAlarmDao.getByAccountId(accountId);
    }
}